AnonymousType
IdeaBlade DevForce 2010 Help Reference
ConstructFromPrototype<AnonymousType>(AnonymousType,Object[]) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > AnonymousFns Class > ConstructFromPrototype Method : ConstructFromPrototype<AnonymousType>(AnonymousType,Object[]) Method



protoType
values
Construct a single instance of an anonymous type given a prototype instances and a specified set of values

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ConstructFromPrototype(Of AnonymousType)( _
   ByVal protoType As AnonymousType, _
   ByVal ParamArray values() As Object _
) As AnonymousType
Visual Basic (Usage)Copy Code
Dim protoType As AnonymousType
Dim values() As Object
Dim value As AnonymousType
 
value = AnonymousFns.ConstructFromPrototype(Of AnonymousType)(protoType, values)
C# 
public static AnonymousType ConstructFromPrototype<AnonymousType>( 
   AnonymousType protoType,
   params object[] values
)
C++/CLI 
public:
static AnonymousType^ ConstructFromPrototypegeneric<typename AnonymousType>
( 
   AnonymousType^ protoType,
   ... array<Object^>^ values
) 

Parameters

protoType
values

Type Parameters

AnonymousType

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.